package cn.com.cifi.mars.service;

import cn.com.cifi.mars.bean.bo.PanoPlanCastDecisionBO;
import cn.com.cifi.mars.entity.PanoplanBuildPlan;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 楼栋计划表 服务类
 * </p>
 *
 * @author yyd
 * @since 2019-09-07
 */
public interface PanoplanBuildPlanService extends IService<PanoplanBuildPlan> {

    //楼栋计划数据对接接口
    Map<String,Object> syncPanoplanBuildPlan(JSONObject anoplanBuildPlan);

    //全量数据对接接口
    void syncAllData(JSONObject anoplanBuildPlan,String id);

    PanoPlanCastDecisionBO selectNewestByFid(String projectFid, List<String> versionTypes, int isDel);

    PanoPlanCastDecisionBO selectNewestWarPlanByFid(String projectFid, String versionType, int isDel);

    PanoPlanCastDecisionBO selectNewestWarPlanByFidAndVersionType(String projectFid, String versionType, int isDel);

    PanoPlanCastDecisionBO selectCastDecisionById(String panoVersionId);

    PanoPlanCastDecisionBO selectById(String sourcePlan);
}
